package com.sy.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(description = "用户点击支付时传递的数据模型")
@Data
public class PayDTO {
    @ApiModelProperty(value = "购买的课程的id",required = true)
    private Integer courseId;
    @ApiModelProperty(value = "购买的课程的价格",required = true)
    private Double amount;
    @ApiModelProperty(value = "购买的课程的名称",required = true)
    private String courseName;
}
